github.com/jackc/pgx/v5.Conn.statementCache (field)
18 uses
github.com/jackc/pgx/v5 (current package)
batch.go#L496: if sc := conn.statementCache; sc != nil {
conn.go#L72: statementCache stmtcache.Cache
conn.go#L289: c.statementCache = stmtcache.NewLRUCache(c.config.StatementCacheCapacity)
conn.go#L400: c.statementCache = stmtcache.NewLRUCache(c.config.StatementCacheCapacity)
conn.go#L522: if sc := c.statementCache; sc != nil {
conn.go#L538: if c.statementCache == nil {
conn.go#L541: sd := c.statementCache.Get(sql)
conn.go#L547: c.statementCache.Put(sd)
conn.go#L898: if c.statementCache == nil {
conn.go#L901: sd = c.statementCache.Get(sql)
conn.go#L907: c.statementCache.Put(sd)
conn.go#L1073: if c.statementCache == nil {
conn.go#L1082: sd := c.statementCache.Get(bi.SQL)
conn.go#L1101: return c.sendBatchExtendedWithDescription(ctx, b, distinctNewQueries, c.statementCache)
conn.go#L1440: if c.statementCache != nil {
conn.go#L1441: invalidatedStatements = c.statementCache.GetInvalidated()
conn.go#L1465: c.statementCache.RemoveInvalidated()
rows.go#L174: if sc := rows.conn.statementCache; sc != nil {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)